package com.ttdc.pojo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
@JsonFormat
public class OrderList {
    @Override
	public String toString() {
		return "OrderList [getOlId()=" + getOlId() + ", getOlDate()=" + getOlDate() + ", getOlPrice()=" + getOlPrice()
				+ ", getOlType()=" + getOlType() + ", getTbId()=" + getTbId() + ", getOlCreatorId()=" + getOlCreatorId()
				+ ", getOlCompleteId()=" + getOlCompleteId() + "]";
	}

	private Integer olId;
	
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date olDate;

    private Float olPrice;

    private Byte olType;

    private Integer tbId;

    private Integer olCreatorId;

    private Integer olCompleteId;

    public Integer getOlId() {
        return olId;
    }

    public void setOlId(Integer olId) {
        this.olId = olId;
    }

    public Date getOlDate() {
        return olDate;
    }

    public void setOlDate(Date olDate) {
        this.olDate = olDate;
    }

    public Float getOlPrice() {
        return olPrice;
    }

    public void setOlPrice(Float olPrice) {
        this.olPrice = olPrice;
    }

    public Byte getOlType() {
        return olType;
    }

    public void setOlType(Byte olType) {
        this.olType = olType;
    }

    public Integer getTbId() {
        return tbId;
    }

    public void setTbId(Integer tbId) {
        this.tbId = tbId;
    }

    public Integer getOlCreatorId() {
        return olCreatorId;
    }

    public void setOlCreatorId(Integer olCreatorId) {
        this.olCreatorId = olCreatorId;
    }

    public Integer getOlCompleteId() {
        return olCompleteId;
    }

    public void setOlCompleteId(Integer olCompleteId) {
        this.olCompleteId = olCompleteId;
    }
}